package com.railway.field.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Risk" , description = "安全隐患类型")
public class Risk {
    @ApiModelProperty(value = "安全隐患类型id" , name = "id")
    private int id;

    @ApiModelProperty(value = "用户id" , name = "user_id")
    private int user_id;

    @ApiModelProperty(value = "风险源类别" , name = "risk_category")
    private String risk_category;

    @ApiModelProperty(value = "具体风险描述" , name = "risk_description")
    private String risk_description;

    @ApiModelProperty(value = "风险等级" , name = "risk_grade")
    private String risk_grade;

    public Risk() {
        super();
    }

    public Risk(int id, int user_id, String risk_category, String risk_description, String risk_grade) {
        this.id = id;
        this.user_id = user_id;
        this.risk_category = risk_category;
        this.risk_description = risk_description;
        this.risk_grade = risk_grade;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getRisk_category() {
        return risk_category;
    }

    public void setRisk_category(String risk_category) {
        this.risk_category = risk_category;
    }

    public String getRisk_description() {
        return risk_description;
    }

    public void setRisk_description(String risk_description) {
        this.risk_description = risk_description;
    }

    public String getRisk_grade() {
        return risk_grade;
    }

    public void setRisk_grade(String risk_grade) {
        this.risk_grade = risk_grade;
    }
}
